<%@ Page Language="VB" MasterPageFile="~/Views/Shared/Login.Master" Inherits="System.Web.Mvc.ViewPage(of AccountViewModel)" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
   <%=Model.Title%>
</asp:Content>

<asp:Content ID="LoginContent" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.CustomValidationSummary()%>
<% Using Html.BeginForm(New With {.id = "loginform", .name = "loginform"})%>
	<p> 
    	<label for="username">Email<br />
		  <%=Html.TextBox("email", "", New With {.id = "email", .class = "input", .size = "20"})%>
          <%=Html.ValidationMessage("email")%>
		</label> 
	</p> 
	<p> 
		<label for="password">Password<br /> 
		  <%=Html.Password("password", "", New With {.id = "password", .class = "input", .size = "20"})%>
          <%= Html.ValidationMessage("password") %>
		</label> 
	</p> 
	<p class="forgetmenot">
	<label for="rememberme">
	 <%=Html.CheckBox("rememberme", False)%>Remember Me </label> </p> 
	<p class="submit"> 
		<input type="submit" name="submit" id="submit" value="Log In" tabindex="100" /> 
		<input type="hidden" name="ReturnUrl" id="ReturnUrl" value="<%=Model.ReturnUrl%>" tabindex="100" /> 
	</p> 
    <% End Using %>
 
<p id="nav"> 
<%=Html.ActionLink("Create New Account", "Register")%> |
<%=Html.ActionLink("Lost your password?", "LostPassword")%> 
</p> 

</asp:Content>



